#include<stdio.h>
int main()
{
    //freopen("in.txt","r",stdin);
    float f;
    scanf("%f",&f);
    printf("c=%.2f",5*(f-32)/9);
}